package com.hxspringbootdemo.product.controller;

import com.hx.springbootdemo.entity.Product;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProductController {

    @GetMapping(value = "getProduct")
    public String getProduct(){
        Product product = new Product();
        return product.toString();
    }

}
